package com.xuecheng.learning.service;

import com.xuecheng.base.model.RestResponse;

/**
 * 在线学习相关接口
 */
public interface LearningService {

    /**
     * 判断学习资格,有学习资格了就远程调用媒资服务查询课程的播放地址
     * @param userId
     * @param courseId
     * @param teachplanId
     * @param mediaId
     * @return
     */
    RestResponse<String> getVideo(String userId, Long courseId, Long teachplanId, String mediaId);
}
